#include "StdAfx.h"
#include "NormalParameters.h"



NormalParameters::NormalParameters( double mean, double sigma, RandomGenerator & generator ):distribution(mean,sigma),die(generator,distribution)
{
	
}

NormalParameters::~NormalParameters(void)
{
}

int NormalParameters::operator()()
{
	double d;
	while ( (d = die()) < 0 );
	return (int)d;
}
